﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using StonePonyMVC.StonePony.Classes;
using System.Web.Security;
using StonePonyMVC.Models;

namespace StonePonyMVC.StonePony.Services
{
    public interface IMembershipService
    {
        bool ValidateUser(string email, string password, HttpContextBase context);
        StonePonyIdentity BuildStonePonyIdentity(string email, bool isAuthenticated);
        MembershipCreateStatus CreateUser(RegisterModel registerData);
        bool ChangePassword(string email, string oldPassword, string newPassword);
    }
}
